package it.antonio.ilpizze.db;

public class DbException extends RuntimeException{

	private static final long serialVersionUID = 1L;
	private boolean needsRoolback = false;
	
	public DbException(String msg) {
		super(msg);
	}

	public DbException(Throwable cause) {
		super(cause);
	}

	public DbException() {
		super();
	}

	public boolean needsRoolback() {
		return needsRoolback;
	}

	public void needsRoolback(boolean needsRoolback) {
		this.needsRoolback = needsRoolback;
	}
	
	
	
}
